package com.twu.biblioteca.Entity;

/**
 * Created by hjli on 7/27/14.
 */
public class User {

    public String getLibraryNumber() {
        return libraryNumber;
    }

    private String libraryNumber;
    private String name;

    public String getPassword() {
        return password;
    }

    private String password;

    @Override
    public String toString() {
        return "User{" +
                "libraryNumber='" + libraryNumber + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", address='" + address + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                '}';
    }

    private String email;
    private String address;
    private String phoneNumber;

    public String getRole() {
        return role;
    }

    private String role;

    public User(String libraryNumber, String name, String password, String email, String address, String phoneNumber, String role) {
        this.libraryNumber = libraryNumber;
        this.name = name;
        this.password = password;
        this.email = email;
        this.address = address;
        this.phoneNumber = phoneNumber;
        this.role = role;
    }
}
